home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / zsh / Source / help / limit < prev    next >
Encoding:
Text File  |  1993-10-08  |  1.7 KB  |  45 lines

  1.        limit [ -h ] [ resource [ limit ] ] ...
  2.        limit -s
  3.               Limit the resource consumption of the current shell
  4.               and its children.  If limit is not specified, print
  5.               the current limit placed on resource; otherwise set
  6.               the limit to the specified value.  If the  -h  flag
  7.               is  given,  use hard limits instead of soft limits.
  8.               If no resource is given, print all limits.
  9.  
  10.               resource is one of:
  11.  
  12.               cputime
  13.                      Maximum CPU seconds per process.
  14.               filesize
  15.                      Largest single file allowed.
  16.               datasize
  17.                      Maximum data size (including stack) for each
  18.                      process.
  19.               stacksize
  20.                      Maximum stack size for each process.
  21.               coredumpsize
  22.                      Maximum size of a core dump.
  23.               resident
  24.                      Maximum resident set size.
  25.               memoryuse
  26.                      The same as resident.
  27.               memorylocked
  28.                      Maximum amount of memory locked in RAM.
  29.               descriptors
  30.                      Maximum value for a file descriptor.
  31.               openfiles
  32.                      Maximum number of open files.
  33.               vmemorysize
  34.                      Maximum amount of virtual memory.
  35.  
  36.               Which   of  these  resource  limits  are  available
  37.               depends on the system.  limit is a number, with  an
  38.               optional scaling factor, as follows:
  39.  
  40.               nh     hours.
  41.               nk     kilobytes.   This is the default for all but
  42.                      cputime.
  43.               nm     megabytes or minutes.
  44.               mm:ss  minutes and seconds.
  45.